package com.hzncc.flowable_diboot.service;

import com.diboot.core.service.BaseService;
import com.hzncc.flowable_diboot.entity.OppoFlowOrder;
import com.hzncc.flowable_diboot.vo.OppoFlowOrderDetailVO;

/**
* 商机流程单 相关Service接口定义
* @author MyName
* @version 1.0
* @date 2024-06-11
* Copyright © MyCorp
*/
public interface OppoFlowOrderService extends BaseService<OppoFlowOrder> {

     /**
      * 查询流程单
      *
      * @param id
      * @return
      * @author 陈广煜
      * @date 2024/6/11
      */
     OppoFlowOrderDetailVO selectOrder(String id);

     /**
      * 创建流程单
      *
      * @param tempId
      * @author 陈广煜
      * @date 2024/6/11
      */
     String createOrder(String tempId);

    /**
     * 流程提交
     *
     * @param detailVO
     * @author 陈广煜
     * @date 2024/6/11
     */
    void commit(OppoFlowOrderDetailVO detailVO,String itemId);
}